package com.harry.hr.biz.system.impl;

import java.util.List;

import org.hibernate.criterion.MatchMode;
import org.hibernate.criterion.Order;

import com.harry.hr.biz.system.IconBIZ;
import com.harry.hr.dao.system.IconDAO;
import com.harry.hr.entity.system.Icon;

public class IconBIZImpl implements IconBIZ {
	
	private IconDAO iconDao;

	public void setIconDao(IconDAO iconDao) {
		this.iconDao = iconDao;
	}

	public List<Icon> Query(Icon icon, MatchMode mode, Order order) {
		return this.iconDao.Query(icon, mode, order);
	}

	public void delete(Icon icon) {
		this.iconDao.delete(icon);

	}

	public Icon findByid(int id) {
		return this.iconDao.findByid(id);
	}

	public void save(Icon icon) {
		this.iconDao.save(icon);

	}

	public void update(Icon icon) {
		this.iconDao.update(icon);

	}

}
